<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRHitachiAc424 Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IRremoteESP8266
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classIRHitachiAc424-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IRHitachiAc424 Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class for handling detailed Hitachi 53-byte/424-bit A/C messages.  
 <a href="classIRHitachiAc424.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ir__Hitachi_8h_source.html">ir_Hitachi.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for IRHitachiAc424:</div>
<div class="dyncontent">
<div class="center"><img src="classIRHitachiAc424__inherit__graph.png" border="0" usemap="#IRHitachiAc424_inherit__map" alt="Inheritance graph"/></div>
<map name="IRHitachiAc424_inherit__map" id="IRHitachiAc424_inherit__map">
<area shape="rect" title="Class for handling detailed Hitachi 53&#45;byte/424&#45;bit A/C messages." alt="" coords="77,5,199,32"/>
<area shape="rect" href="classIRHitachiAc264.html" title="Class for handling detailed Hitachi 264&#45;bit A/C messages." alt="" coords="5,80,127,107"/>
<area shape="rect" href="classIRHitachiAc344.html" title="Class for handling detailed Hitachi 344&#45;bit A/C messages." alt="" coords="151,80,272,107"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for IRHitachiAc424:</div>
<div class="dyncontent">
<div class="center"><img src="classIRHitachiAc424__coll__graph.png" border="0" usemap="#IRHitachiAc424_coll__map" alt="Collaboration graph"/></div>
<map name="IRHitachiAc424_coll__map" id="IRHitachiAc424_coll__map">
<area shape="rect" title="Class for handling detailed Hitachi 53&#45;byte/424&#45;bit A/C messages." alt="" coords="43,95,165,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="5,5,72,32"/>
<area shape="rect" href="unionHitachi424Protocol.html" title="Native representation of a Hitachi 53&#45;byte/424&#45;bit A/C message." alt="" coords="97,5,242,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:add708c10a56d20621ef65a0ddcc2aac1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#add708c10a56d20621ef65a0ddcc2aac1">IRHitachiAc424</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:add708c10a56d20621ef65a0ddcc2aac1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="classIRHitachiAc424.html#add708c10a56d20621ef65a0ddcc2aac1">More...</a><br /></td></tr>
<tr class="separator:add708c10a56d20621ef65a0ddcc2aac1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd8d5b21086b34cdc07b498157240f8f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#afd8d5b21086b34cdc07b498157240f8f">stateReset</a> (void)</td></tr>
<tr class="memdesc:afd8d5b21086b34cdc07b498157240f8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internal state to a fixed known good state.  <a href="classIRHitachiAc424.html#afd8d5b21086b34cdc07b498157240f8f">More...</a><br /></td></tr>
<tr class="separator:afd8d5b21086b34cdc07b498157240f8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf15121bb329e1bb061f9e5efb848764"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#adf15121bb329e1bb061f9e5efb848764">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#acc8510281d2ff9a808501d375c03ba21">kHitachiAcDefaultRepeat</a>)</td></tr>
<tr class="memdesc:adf15121bb329e1bb061f9e5efb848764"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message.  <a href="classIRHitachiAc424.html#adf15121bb329e1bb061f9e5efb848764">More...</a><br /></td></tr>
<tr class="separator:adf15121bb329e1bb061f9e5efb848764"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae5e5c13767f335331c5fab8d8ba55d6"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#aae5e5c13767f335331c5fab8d8ba55d6">calibrate</a> (void)</td></tr>
<tr class="memdesc:aae5e5c13767f335331c5fab8d8ba55d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform.  <a href="classIRHitachiAc424.html#aae5e5c13767f335331c5fab8d8ba55d6">More...</a><br /></td></tr>
<tr class="separator:aae5e5c13767f335331c5fab8d8ba55d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11866bba49e9b976eb22b1039787ecae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a11866bba49e9b976eb22b1039787ecae">begin</a> (void)</td></tr>
<tr class="memdesc:a11866bba49e9b976eb22b1039787ecae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message.  <a href="classIRHitachiAc424.html#a11866bba49e9b976eb22b1039787ecae">More...</a><br /></td></tr>
<tr class="separator:a11866bba49e9b976eb22b1039787ecae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad414bca642af40ed81a6cbf93a0bf40b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#ad414bca642af40ed81a6cbf93a0bf40b">on</a> (void)</td></tr>
<tr class="memdesc:ad414bca642af40ed81a6cbf93a0bf40b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to On.  <a href="classIRHitachiAc424.html#ad414bca642af40ed81a6cbf93a0bf40b">More...</a><br /></td></tr>
<tr class="separator:ad414bca642af40ed81a6cbf93a0bf40b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0815a09fc49449bac03d996c63040a5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a0815a09fc49449bac03d996c63040a5f">off</a> (void)</td></tr>
<tr class="memdesc:a0815a09fc49449bac03d996c63040a5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to Off.  <a href="classIRHitachiAc424.html#a0815a09fc49449bac03d996c63040a5f">More...</a><br /></td></tr>
<tr class="separator:a0815a09fc49449bac03d996c63040a5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b0b2e2c631d1bce2dd4677bb71e79b4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a7b0b2e2c631d1bce2dd4677bb71e79b4">setPower</a> (const bool <a class="el" href="classIRHitachiAc424.html#ad414bca642af40ed81a6cbf93a0bf40b">on</a>)</td></tr>
<tr class="memdesc:a7b0b2e2c631d1bce2dd4677bb71e79b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting.  <a href="classIRHitachiAc424.html#a7b0b2e2c631d1bce2dd4677bb71e79b4">More...</a><br /></td></tr>
<tr class="separator:a7b0b2e2c631d1bce2dd4677bb71e79b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a025b0e8cd50111555d55fea481ca7b1c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a025b0e8cd50111555d55fea481ca7b1c">getPower</a> (void) const</td></tr>
<tr class="memdesc:a025b0e8cd50111555d55fea481ca7b1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting.  <a href="classIRHitachiAc424.html#a025b0e8cd50111555d55fea481ca7b1c">More...</a><br /></td></tr>
<tr class="separator:a025b0e8cd50111555d55fea481ca7b1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cca8f31d07ce87b6e4a0ff0c22b1be8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a5cca8f31d07ce87b6e4a0ff0c22b1be8">setTemp</a> (const uint8_t temp, bool setPrevious=true)</td></tr>
<tr class="memdesc:a5cca8f31d07ce87b6e4a0ff0c22b1be8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature.  <a href="classIRHitachiAc424.html#a5cca8f31d07ce87b6e4a0ff0c22b1be8">More...</a><br /></td></tr>
<tr class="separator:a5cca8f31d07ce87b6e4a0ff0c22b1be8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a166d3d7cd9028d906a7a259902c8898c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a166d3d7cd9028d906a7a259902c8898c">getTemp</a> (void) const</td></tr>
<tr class="memdesc:a166d3d7cd9028d906a7a259902c8898c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting.  <a href="classIRHitachiAc424.html#a166d3d7cd9028d906a7a259902c8898c">More...</a><br /></td></tr>
<tr class="separator:a166d3d7cd9028d906a7a259902c8898c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd69bcff56224f39af92fc2d334b67bb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#afd69bcff56224f39af92fc2d334b67bb">setFan</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:afd69bcff56224f39af92fc2d334b67bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan.  <a href="classIRHitachiAc424.html#afd69bcff56224f39af92fc2d334b67bb">More...</a><br /></td></tr>
<tr class="separator:afd69bcff56224f39af92fc2d334b67bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d105be99f05794ce845db06e17bffcd"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a2d105be99f05794ce845db06e17bffcd">getFan</a> (void) const</td></tr>
<tr class="memdesc:a2d105be99f05794ce845db06e17bffcd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting.  <a href="classIRHitachiAc424.html#a2d105be99f05794ce845db06e17bffcd">More...</a><br /></td></tr>
<tr class="separator:a2d105be99f05794ce845db06e17bffcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f3342235b1f69fdcdc942147ac3a909"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a8f3342235b1f69fdcdc942147ac3a909">getButton</a> (void) const</td></tr>
<tr class="memdesc:a8f3342235b1f69fdcdc942147ac3a909"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Button/Command setting of the A/C.  <a href="classIRHitachiAc424.html#a8f3342235b1f69fdcdc942147ac3a909">More...</a><br /></td></tr>
<tr class="separator:a8f3342235b1f69fdcdc942147ac3a909"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4ded7ea8aa94271d5135eebd3bb80a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#af4ded7ea8aa94271d5135eebd3bb80a8">setButton</a> (const uint8_t button)</td></tr>
<tr class="memdesc:af4ded7ea8aa94271d5135eebd3bb80a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Button/Command pressed setting of the A/C.  <a href="classIRHitachiAc424.html#af4ded7ea8aa94271d5135eebd3bb80a8">More...</a><br /></td></tr>
<tr class="separator:af4ded7ea8aa94271d5135eebd3bb80a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a220fd85bd213dd13ee9c609d4d7d20c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a220fd85bd213dd13ee9c609d4d7d20c1">setSwingVToggle</a> (const bool <a class="el" href="classIRHitachiAc424.html#ad414bca642af40ed81a6cbf93a0bf40b">on</a>)</td></tr>
<tr class="memdesc:a220fd85bd213dd13ee9c609d4d7d20c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing toggle setting of the A/C.  <a href="classIRHitachiAc424.html#a220fd85bd213dd13ee9c609d4d7d20c1">More...</a><br /></td></tr>
<tr class="separator:a220fd85bd213dd13ee9c609d4d7d20c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafd0dd25455dd9743cf4fd879a843e54"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#aafd0dd25455dd9743cf4fd879a843e54">getSwingVToggle</a> (void) const</td></tr>
<tr class="memdesc:aafd0dd25455dd9743cf4fd879a843e54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing toggle setting of the A/C.  <a href="classIRHitachiAc424.html#aafd0dd25455dd9743cf4fd879a843e54">More...</a><br /></td></tr>
<tr class="separator:aafd0dd25455dd9743cf4fd879a843e54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a373a51d207674e35e00762b057f73cd5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a373a51d207674e35e00762b057f73cd5">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a373a51d207674e35e00762b057f73cd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C.  <a href="classIRHitachiAc424.html#a373a51d207674e35e00762b057f73cd5">More...</a><br /></td></tr>
<tr class="separator:a373a51d207674e35e00762b057f73cd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94c44ea44ec395351715f28d2067bdca"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a94c44ea44ec395351715f28d2067bdca">getMode</a> (void) const</td></tr>
<tr class="memdesc:a94c44ea44ec395351715f28d2067bdca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C.  <a href="classIRHitachiAc424.html#a94c44ea44ec395351715f28d2067bdca">More...</a><br /></td></tr>
<tr class="separator:a94c44ea44ec395351715f28d2067bdca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd8388f938feeaf6808ff65779435b5d"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#acd8388f938feeaf6808ff65779435b5d">getRaw</a> (void)</td></tr>
<tr class="memdesc:acd8388f938feeaf6808ff65779435b5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a PTR to the internal state/code for this protocol.  <a href="classIRHitachiAc424.html#acd8388f938feeaf6808ff65779435b5d">More...</a><br /></td></tr>
<tr class="separator:acd8388f938feeaf6808ff65779435b5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc24b8b984ff20cebdf81f65843bb283"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#adc24b8b984ff20cebdf81f65843bb283">setRaw</a> (const uint8_t new_code[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#aff17d9c0ccf683895d2c868094679f0a">kHitachiAc424StateLength</a>)</td></tr>
<tr class="memdesc:adc24b8b984ff20cebdf81f65843bb283"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol.  <a href="classIRHitachiAc424.html#adc24b8b984ff20cebdf81f65843bb283">More...</a><br /></td></tr>
<tr class="separator:adc24b8b984ff20cebdf81f65843bb283"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a541067f8b2ecaba01ccc9b27120e0dba"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a541067f8b2ecaba01ccc9b27120e0dba">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed) const</td></tr>
<tr class="memdesc:a541067f8b2ecaba01ccc9b27120e0dba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed.  <a href="classIRHitachiAc424.html#a541067f8b2ecaba01ccc9b27120e0dba">More...</a><br /></td></tr>
<tr class="separator:a541067f8b2ecaba01ccc9b27120e0dba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39048ed5108383c7d7e137d9f05aa537"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a39048ed5108383c7d7e137d9f05aa537">toCommonFanSpeed</a> (const uint8_t speed) const</td></tr>
<tr class="memdesc:a39048ed5108383c7d7e137d9f05aa537"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRHitachiAc424.html#a39048ed5108383c7d7e137d9f05aa537">More...</a><br /></td></tr>
<tr class="separator:a39048ed5108383c7d7e137d9f05aa537"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad33ed9dfd26bb513e113549b932f2f3f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#ad33ed9dfd26bb513e113549b932f2f3f">toCommon</a> (void) const</td></tr>
<tr class="memdesc:ad33ed9dfd26bb513e113549b932f2f3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent.  <a href="classIRHitachiAc424.html#ad33ed9dfd26bb513e113549b932f2f3f">More...</a><br /></td></tr>
<tr class="separator:ad33ed9dfd26bb513e113549b932f2f3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fa426e756e6b94a480ddeba4bcde25c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a2fa426e756e6b94a480ddeba4bcde25c">toString</a> (void) const</td></tr>
<tr class="memdesc:a2fa426e756e6b94a480ddeba4bcde25c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the internal state into a human readable string.  <a href="classIRHitachiAc424.html#a2fa426e756e6b94a480ddeba4bcde25c">More...</a><br /></td></tr>
<tr class="separator:a2fa426e756e6b94a480ddeba4bcde25c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a974bf3ada7117e463b8c23e2158902be"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a974bf3ada7117e463b8c23e2158902be">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:a974bf3ada7117e463b8c23e2158902be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode.  <a href="classIRHitachiAc424.html#a974bf3ada7117e463b8c23e2158902be">More...</a><br /></td></tr>
<tr class="separator:a974bf3ada7117e463b8c23e2158902be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a725d8dc2178975c977a7496792e667"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a2a725d8dc2178975c977a7496792e667">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a2a725d8dc2178975c977a7496792e667"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRHitachiAc424.html#a2a725d8dc2178975c977a7496792e667">More...</a><br /></td></tr>
<tr class="separator:a2a725d8dc2178975c977a7496792e667"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:ad18528cf83e863b98cb1609eec970ac5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#ad18528cf83e863b98cb1609eec970ac5">setInvertedStates</a> (void)</td></tr>
<tr class="memdesc:ad18528cf83e863b98cb1609eec970ac5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the internal consistency check for the protocol.  <a href="classIRHitachiAc424.html#ad18528cf83e863b98cb1609eec970ac5">More...</a><br /></td></tr>
<tr class="separator:ad18528cf83e863b98cb1609eec970ac5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8ff90fe9beb31d8f44310a9e646a230"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#af8ff90fe9beb31d8f44310a9e646a230">_toString</a> (void) const</td></tr>
<tr class="memdesc:af8ff90fe9beb31d8f44310a9e646a230"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the internal state into a human readable string for the settings that are common to protocols of this nature.  <a href="classIRHitachiAc424.html#af8ff90fe9beb31d8f44310a9e646a230">More...</a><br /></td></tr>
<tr class="separator:af8ff90fe9beb31d8f44310a9e646a230"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a39157a1bda46304429570be2880c6ec4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a39157a1bda46304429570be2880c6ec4">_irsend</a></td></tr>
<tr class="memdesc:a39157a1bda46304429570be2880c6ec4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class.  <a href="classIRHitachiAc424.html#a39157a1bda46304429570be2880c6ec4">More...</a><br /></td></tr>
<tr class="separator:a39157a1bda46304429570be2880c6ec4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3e49f9ccda3b94099a11b4fba87fb3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionHitachi424Protocol.html">Hitachi424Protocol</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#aa3e49f9ccda3b94099a11b4fba87fb3e">_</a></td></tr>
<tr class="separator:aa3e49f9ccda3b94099a11b4fba87fb3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba6c17936775e268744af23a4a533f92"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#aba6c17936775e268744af23a4a533f92">_previoustemp</a></td></tr>
<tr class="separator:aba6c17936775e268744af23a4a533f92"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a3340fb00bcc0f4848d6d0ec89d81650a"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a3340fb00bcc0f4848d6d0ec89d81650a">IRHitachiAc264</a></td></tr>
<tr class="separator:a3340fb00bcc0f4848d6d0ec89d81650a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c885313a79bf8c02bc5eb9f7d80088b"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc424.html#a3c885313a79bf8c02bc5eb9f7d80088b">IRHitachiAc344</a></td></tr>
<tr class="separator:a3c885313a79bf8c02bc5eb9f7d80088b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Hitachi 53-byte/424-bit A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="add708c10a56d20621ef65a0ddcc2aac1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add708c10a56d20621ef65a0ddcc2aac1">&#9670;&nbsp;</a></span>IRHitachiAc424()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IRHitachiAc424::IRHitachiAc424 </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>pin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>inverted</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af8ff90fe9beb31d8f44310a9e646a230"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8ff90fe9beb31d8f44310a9e646a230">&#9670;&nbsp;</a></span>_toString()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRHitachiAc424::_toString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert the internal state into a human readable string for the settings that are common to protocols of this nature. </p>
<dl class="section return"><dt>Returns</dt><dd>A string containing the common settings in human-readable form. </dd></dl>

</div>
</div>
<a id="a11866bba49e9b976eb22b1039787ecae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11866bba49e9b976eb22b1039787ecae">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::begin </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set up hardware to be able to send a message. </p>

</div>
</div>
<a id="aae5e5c13767f335331c5fab8d8ba55d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae5e5c13767f335331c5fab8d8ba55d6">&#9670;&nbsp;</a></span>calibrate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t IRHitachiAc424::calibrate </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>

</div>
</div>
<a id="a541067f8b2ecaba01ccc9b27120e0dba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a541067f8b2ecaba01ccc9b27120e0dba">&#9670;&nbsp;</a></span>convertFan()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHitachiAc424::convertFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

<p>Reimplemented in <a class="el" href="classIRHitachiAc264.html#a99124e203064cecb185ddb0cdb39be9b">IRHitachiAc264</a>.</p>

</div>
</div>
<a id="a974bf3ada7117e463b8c23e2158902be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a974bf3ada7117e463b8c23e2158902be">&#9670;&nbsp;</a></span>convertMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHitachiAc424::convertMode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="a8f3342235b1f69fdcdc942147ac3a909"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f3342235b1f69fdcdc942147ac3a909">&#9670;&nbsp;</a></span>getButton()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHitachiAc424::getButton </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Button/Command setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The value of the button/command that was pressed. </dd></dl>

</div>
</div>
<a id="a2d105be99f05794ce845db06e17bffcd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d105be99f05794ce845db06e17bffcd">&#9670;&nbsp;</a></span>getFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHitachiAc424::getFan </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed. </dd></dl>

</div>
</div>
<a id="a94c44ea44ec395351715f28d2067bdca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94c44ea44ec395351715f28d2067bdca">&#9670;&nbsp;</a></span>getMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHitachiAc424::getMode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the operating mode setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operating mode setting. </dd></dl>

</div>
</div>
<a id="a025b0e8cd50111555d55fea481ca7b1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a025b0e8cd50111555d55fea481ca7b1c">&#9670;&nbsp;</a></span>getPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRHitachiAc424::getPower </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the current power setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="acd8388f938feeaf6808ff65779435b5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd8388f938feeaf6808ff65779435b5d">&#9670;&nbsp;</a></span>getRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t * IRHitachiAc424::getRaw </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a PTR to the internal state/code for this protocol. </p>
<dl class="section return"><dt>Returns</dt><dd>PTR to a code for this protocol based on the current internal state. </dd></dl>

</div>
</div>
<a id="aafd0dd25455dd9743cf4fd879a843e54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafd0dd25455dd9743cf4fd879a843e54">&#9670;&nbsp;</a></span>getSwingVToggle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRHitachiAc424::getSwingVToggle </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Vertical Swing toggle setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a166d3d7cd9028d906a7a259902c8898c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a166d3d7cd9028d906a7a259902c8898c">&#9670;&nbsp;</a></span>getTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHitachiAc424::getTemp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current temperature setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current setting for temp. in degrees celsius. </dd></dl>

</div>
</div>
<a id="a0815a09fc49449bac03d996c63040a5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0815a09fc49449bac03d996c63040a5f">&#9670;&nbsp;</a></span>off()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::off </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting to Off. </p>

</div>
</div>
<a id="ad414bca642af40ed81a6cbf93a0bf40b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad414bca642af40ed81a6cbf93a0bf40b">&#9670;&nbsp;</a></span>on()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::on </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting to On. </p>

</div>
</div>
<a id="adf15121bb329e1bb061f9e5efb848764"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf15121bb329e1bb061f9e5efb848764">&#9670;&nbsp;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::send </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#acc8510281d2ff9a808501d375c03ba21">kHitachiAcDefaultRepeat</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Send the current internal state as an IR message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>Nr. of times the message will be repeated. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classIRHitachiAc264.html#a76a3785740f8fb65bca0ef74292ced51">IRHitachiAc264</a>, and <a class="el" href="classIRHitachiAc344.html#ab11947f9c2a7272d35d75ce3ddbe6581">IRHitachiAc344</a>.</p>

</div>
</div>
<a id="af4ded7ea8aa94271d5135eebd3bb80a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4ded7ea8aa94271d5135eebd3bb80a8">&#9670;&nbsp;</a></span>setButton()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::setButton </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>button</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Button/Command pressed setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">button</td><td>The value of the button/command that was pressed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afd69bcff56224f39af92fc2d334b67bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd69bcff56224f39af92fc2d334b67bb">&#9670;&nbsp;</a></span>setFan()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::setFan </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the speed of the fan. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The desired setting. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classIRHitachiAc264.html#a70ff409b8feec7d1d4db768a5b8c51f7">IRHitachiAc264</a>.</p>

</div>
</div>
<a id="ad18528cf83e863b98cb1609eec970ac5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad18528cf83e863b98cb1609eec970ac5">&#9670;&nbsp;</a></span>setInvertedStates()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::setInvertedStates </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update the internal consistency check for the protocol. </p>

</div>
</div>
<a id="a373a51d207674e35e00762b057f73cd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a373a51d207674e35e00762b057f73cd5">&#9670;&nbsp;</a></span>setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::setMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the operating mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The desired operating mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7b0b2e2c631d1bce2dd4677bb71e79b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b0b2e2c631d1bce2dd4677bb71e79b4">&#9670;&nbsp;</a></span>setPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::setPower </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="adc24b8b984ff20cebdf81f65843bb283"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc24b8b984ff20cebdf81f65843bb283">&#9670;&nbsp;</a></span>setRaw()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::setRaw </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>new_code</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#aff17d9c0ccf683895d2c868094679f0a">kHitachiAc424StateLength</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the internal state from a valid code for this protocol. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">new_code</td><td>A valid code for this protocol. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the new_code array. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classIRHitachiAc344.html#a8bf02e3923d881436a9578532ed3c024">IRHitachiAc344</a>, and <a class="el" href="classIRHitachiAc264.html#a0470b9b1396bdb643f2b08b03828784f">IRHitachiAc264</a>.</p>

</div>
</div>
<a id="a220fd85bd213dd13ee9c609d4d7d20c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a220fd85bd213dd13ee9c609d4d7d20c1">&#9670;&nbsp;</a></span>setSwingVToggle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::setSwingVToggle </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Vertical Swing toggle setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The remote does not keep state of the vertical swing. A byte is sent indicating the swing button is pressed on the remote </dd></dl>

</div>
</div>
<a id="a5cca8f31d07ce87b6e4a0ff0c22b1be8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5cca8f31d07ce87b6e4a0ff0c22b1be8">&#9670;&nbsp;</a></span>setTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::setTemp </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>celsius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>setPrevious</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">celsius</td><td>The temperature in degrees celsius. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">setPrevious</td><td>true, remember this if we change mode. false, don't. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afd8d5b21086b34cdc07b498157240f8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd8d5b21086b34cdc07b498157240f8f">&#9670;&nbsp;</a></span>stateReset()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRHitachiAc424::stateReset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reset the internal state to a fixed known good state. </p>
<dl class="section note"><dt>Note</dt><dd>Reset to auto fan, cooling, 23° Celsius </dd></dl>

<p>Reimplemented in <a class="el" href="classIRHitachiAc264.html#a1e3bd5d35f3240c8f7cc44d56efefabb">IRHitachiAc264</a>, and <a class="el" href="classIRHitachiAc344.html#a481cbfb0420ba884a7eb4c2ba82bd666">IRHitachiAc344</a>.</p>

</div>
</div>
<a id="ad33ed9dfd26bb513e113549b932f2f3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad33ed9dfd26bb513e113549b932f2f3f">&#9670;&nbsp;</a></span>toCommon()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> IRHitachiAc424::toCommon </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native settings. </dd></dl>

<p>Reimplemented in <a class="el" href="classIRHitachiAc264.html#a419473e8946763207dbf11ec162c2037">IRHitachiAc264</a>, and <a class="el" href="classIRHitachiAc344.html#a2bdc3e19a6125d107844f548e4321f6e">IRHitachiAc344</a>.</p>

</div>
</div>
<a id="a39048ed5108383c7d7e137d9f05aa537"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39048ed5108383c7d7e137d9f05aa537">&#9670;&nbsp;</a></span>toCommonFanSpeed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> IRHitachiAc424::toCommonFanSpeed </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

<p>Reimplemented in <a class="el" href="classIRHitachiAc264.html#a86d5ecadc7acd053429d12c15d7db66a">IRHitachiAc264</a>.</p>

</div>
</div>
<a id="a2a725d8dc2178975c977a7496792e667"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a725d8dc2178975c977a7496792e667">&#9670;&nbsp;</a></span>toCommonMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> IRHitachiAc424::toCommonMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="a2fa426e756e6b94a480ddeba4bcde25c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fa426e756e6b94a480ddeba4bcde25c">&#9670;&nbsp;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRHitachiAc424::toString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert the internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A string containing the settings in human-readable form. </dd></dl>

<p>Reimplemented in <a class="el" href="classIRHitachiAc264.html#a8dec11614780267089651cc55c1162c5">IRHitachiAc264</a>, and <a class="el" href="classIRHitachiAc344.html#a62c4b681346bb8def0dacda3c92af4b1">IRHitachiAc344</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a3340fb00bcc0f4848d6d0ec89d81650a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3340fb00bcc0f4848d6d0ec89d81650a">&#9670;&nbsp;</a></span>IRHitachiAc264</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classIRHitachiAc264.html">IRHitachiAc264</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a3c885313a79bf8c02bc5eb9f7d80088b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c885313a79bf8c02bc5eb9f7d80088b">&#9670;&nbsp;</a></span>IRHitachiAc344</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classIRHitachiAc344.html">IRHitachiAc344</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aa3e49f9ccda3b94099a11b4fba87fb3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3e49f9ccda3b94099a11b4fba87fb3e">&#9670;&nbsp;</a></span>_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unionHitachi424Protocol.html">Hitachi424Protocol</a> IRHitachiAc424::_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a39157a1bda46304429570be2880c6ec4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39157a1bda46304429570be2880c6ec4">&#9670;&nbsp;</a></span>_irsend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRHitachiAc424::_irsend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Instance of the IR send class. </p>

</div>
</div>
<a id="aba6c17936775e268744af23a4a533f92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba6c17936775e268744af23a4a533f92">&#9670;&nbsp;</a></span>_previoustemp</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRHitachiAc424::_previoustemp</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Hitachi_8h_source.html">ir_Hitachi.h</a></li>
<li>src/<a class="el" href="ir__Hitachi_8cpp.html">ir_Hitachi.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
